aboutsummaryrefslogtreecommitdiffstats
path: root/src/routes/(app)/[username]
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-12-07 22:34:23 -0800
committerAdam Soltys <[email protected]>2023-12-07 22:34:23 -0800
commit8940118dd22c5f2ab680ef8036bcfafecc5696ab (patch)
treea49db92b3ba5f8668cc79ab1dae46e7a09999ba0 /src/routes/(app)/[username]
parent00e88944abb529d07e189f1181de8a4804f8ae9c (diff)
downloadcoinos-ui-8940118dd22c5f2ab680ef8036bcfafecc5696ab.tar.gz
coinos-ui-8940118dd22c5f2ab680ef8036bcfafecc5696ab.zip
password reset
Diffstat (limited to 'src/routes/(app)/[username]')
-rw-r--r--src/routes/(app)/[username]/generate/+page.svelte12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/routes/(app)/[username]/generate/+page.svelte b/src/routes/(app)/[username]/generate/+page.svelte
index 71f828dc..0c83fad4 100644
--- a/src/routes/(app)/[username]/generate/+page.svelte
+++ b/src/routes/(app)/[username]/generate/+page.svelte
@@ -3,6 +3,7 @@
import { onMount } from "svelte";
import { goto, invalidate } from "$app/navigation";
import Pin from "$comp/Pin.svelte";
+ import Spinner from "$comp/Spinner.svelte";
import { loginRedirect, pin, password, passwordPrompt } from "$lib/store";
import { generate } from "$lib/nostr";
import { browser } from "$app/environment";
@@ -19,6 +20,7 @@
return;
}
+ console.log("PASSWORRRRD", $password);
if (!$password) $passwordPrompt = true;
try {
@@ -58,6 +60,10 @@
{#if loaded && user?.haspin && $pin?.length !== 6}
<Pin />
{/if}
-{loaded}
-{JSON.stringify(user)}
-{$pin}
+
+<div class="container px-4 text-center mx-auto">
+ <h1 class="text-3xl md:text-4xl font-bold mb-6">Generating new account keys</h1>
+ <div class="flex w-full py-5 max-w-[200px] mx-auto bg-black rounded-2xl">
+ <Spinner />
+ </div>
+</div>